package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据库产品管理对象 sys_database_product
 * 
 * @author ruoyi
 * @date 2025-10-30
 */
public class SysDatabaseProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Long productId;

    /** 数据库名称 */
    @Excel(name = "数据库名称")
    private String databaseName;

    /** 数据库类型 */
    @Excel(name = "数据库类型")
    private String databaseType;

    /** 数据库描述 */
    @Excel(name = "数据库描述")
    private String databaseDescription;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setDatabaseName(String databaseName) 
    {
        this.databaseName = databaseName;
    }

    public String getDatabaseName() 
    {
        return databaseName;
    }

    public void setDatabaseType(String databaseType) 
    {
        this.databaseType = databaseType;
    }

    public String getDatabaseType() 
    {
        return databaseType;
    }

    public void setDatabaseDescription(String databaseDescription) 
    {
        this.databaseDescription = databaseDescription;
    }

    public String getDatabaseDescription() 
    {
        return databaseDescription;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("databaseName", getDatabaseName())
            .append("databaseType", getDatabaseType())
            .append("databaseDescription", getDatabaseDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
